<include file="Public/header" title="添加权限" />
<div id="page-wrapper">
    <form method="post" action="{:U('Privilege/add')}">

        <div class="form-group">
            <label for="post-cate">上级权限</label>
            <select name="pid" id="catid" class="form-control">
                <option value="0">顶级权限</option>
                <volist name="data" id="vo">
                    <option value="{$vo.id}">{$vo.level|level}{$vo.name}</option>
                </volist>
            </select>
        </div>
        <div class="form-group">
            <label for="cc">权限名称</label>
            <input type="text" name="name" class="form-control" id="cc"  >
        </div>

        <div class="form-group">
            <label for="cc">模块</label>
            <input type="text" name="m" class="form-control" id="cc"  value="">
        </div>

        <div class="form-group">
            <label for="cc">控制器</label>
            <input type="text" name="c" class="form-control" id="cc"  value="">
        </div>

        <div class="form-group">
            <label for="cc">方法</label>
            <input type="text" name="f" class="form-control" id="cc"  value="">
        </div>
        <div class="form-group">
            <button type="submit" class="btn btn-default">提交</button>
        </div>
    </form>
</div>


<include file="Public/footer" />